package com.hengxinguotong.hxgtwygsp.ui.main.video;

import android.view.SurfaceHolder;
import android.view.View;

import com.hengxinguotong.hxgtwygsp.model.Video;
import com.hengxinguotong.hxgtwygsp.ui.base.BasePresenter;

/**
 * TODO
 *
 * @author hjz
 * @version V1.0.0
 * @since 2019/3/23 13:39
 */

public interface VideoContract
{
    interface IView
    {
        void updateHanderStatus();

        void updateCompleted();
    }

    interface IPresenter extends BasePresenter<IView>
    {
        void initMediaPlayer(SurfaceHolder holder);

        void prepare(Video video);

        void pause();

        void start();

        void initAnimator(View target);

        void dismissAnimator();

        void showAnimator();

        void recoverRemainTime();
    }
}
